package main

import "fmt"

func updateMap() {
	map1 := map[string]string{}
	map1["a"] = "A"
	fmt.Println("map 修改前：", map1)
	map1["a"] = "B"
	fmt.Println("map 修改后：", map1)
}

func main() {
	updateMap()
}
